Character Superscript
Superscript this character by the amount specified and size.
| public void Superscript(float percentageSize, float percentageRaised) |
Return value
| void |
Parameters
| float | percentageSize | The size of the subscript character as a percentage of the Character height |
| float | percentageLowered | The percentage Superscript distance |
Example
Copy
TextShape text = new TextShape();
Character character = new Character();
character.CharacterUnicode = 'A';
character.Height = 10;
character.FontName = "Arial";
character.FontStyle = FontStyle.Regular;
text.Characters.Add(character);
character = new Character();
character.CharacterUnicode = '2';
character.Height = 10;
character.FontName = "Arial";
character.FontStyle = FontStyle.Regular;
character.Superscript(100, 100);
text.Characters.Add(character);